<?PHP session_start();?>
<link rel="stylesheet" type="text/css" href="../Another/Style/jquery-ui.css"/>
<script type="text/javascript" src="../Another/JQuery/jquery1.9.2.min.js"></script>
<script type="text/javascript" src="../Another/JQuery/jquery_ui.js"></script>
<link rel="stylesheet" type="text/css" href="../Another/Style/bootstrap.css"/>
<link rel="stylesheet" type="text/css" href="../Another/Style/bootstrap-responsive.css"/>
<style>
.control-label{
	margin-left: 100px;
	margin-right: 10px;
}

.controls .text{
	color: #930;
	font-size: 14px;
	font-weight: bold;
	padding-left: 10px;
	margin-top: 5px;
}
</style>
<?php 
if(isset($_SESSION["ThanhVien"]))
{
	include_once "../MyControl/connection.php";
	$TenThanhVien = $_SESSION["ThanhVien"];
	$sql = "SELECT * FROM thanhvien WHERE TenThanhVien='" .$TenThanhVien."'";
	$result = mysql_query($sql);
	if($row = mysql_fetch_array($result))
	{
		$TenThanhVien =$row['TenThanhVien'];
		$HoTen = $row['HoTen'];
		$GioiTinh = $row['GioiTinh'];
		$NgaySinh = $row['NgaySinh'];
		$DiaChi = $row['DiaChi'];
		$DienThoai = $row['DienThoai'];	
		$Email = $row['Email'];	
		$QuyenTruyCap = $row['QuyenTruyCap'];	
		$TinhTrang = $row['TinhTrang'];		
	}
}
?>

	<form class="form-horizontal" id="registerHere" method='post' action="../MyControl/capnhatthanhvien.php">
	  <fieldset>
	    <legend>Thông tin cá nhân:</legend>
     
	    <div class="control-group">
	      <label class="control-label" for="input01">Tên Đăng Nhập : </label>
	      <div class="controls">
	        <label class="text" for="input01"><?php echo $TenThanhVien;?></label>
	      </div>
	</div>
	
	 <div class="control-group">
		<label class="control-label" for="input01">Email : </label>
	      <div class="controls">
	      	<label class="text" for="input01"><?php echo $Email;?></label>
	      </div>
	</div>
	
	<div class="control-group">
		<label class="control-label" for="input01">Tên Thật : </label>
	      <div class="controls">
	       <label class="text" for="input01"><?php echo $HoTen;?></label>
	      </div>
	</div>
    
	 <div class="control-group">
		<label class="control-label" for="input01">Giới Tính : </label>
	      <div class="controls">
	         <label class="text" for="input01"><?php echo $GioiTinh;?></label>
	       </div>
	</div>
	<div class="control-group">
		<label class="control-label" for="input01">Ngày Sinh : </label>
	      <div class="controls">
	        <label class="text" for="input01"><?php echo $NgaySinh;?></label>
	      </div>
	</div>
	
    <div class="control-group">
		<label class="control-label" for="input01">Địa Chỉ : </label>
	      <div class="controls">
	        <label class="text" for="input01"><?php echo $DiaChi;?></label>
	      </div>
	</div>
    
    <div class="control-group">
		<label class="control-label" for="input01">Số Điện Thoại : </label>
	      <div class="controls">
	        <label class="text" for="input01"><?php echo $DienThoai;?></label>
	      </div>
	</div>
	</fieldset>
	</form>
	


